package jobs;

import models.User;
import play.jobs.Job;
import play.jobs.OnApplicationStart;

@OnApplicationStart
public class Bootstrap extends Job {
	
	public void doJob() {
//		User andrew = new User("root", "rita8591");
//		andrew.isAdmin = true;
//		andrew.save();
//		User sec = new User("sec", "1234");
//		andrew.isAdmin = false;
//		sec.save();
////		
		
//		org.hsqldb.util.DatabaseManagerSwing.main(new String[] { "--url","jdbc:" +
//				"hsqldb:file:D:\\Workspace\\melodysoft\\db\\db", "--noexit" }); 
    	
//		org.hsqldb.util.DatabaseManagerSwing.main(new String[] { "--url","jdbc:" +
	//			"hsqldb:mem:playembed", "--noexit" }); 
	}

}
